package com.example.questionnaire.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author hsz
 * @email 1416446590@qq.com
 * @date 2022-10-31 10:19:07
 */
@Data
@TableName("questionnaire")
public class QuestionnaireEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 问卷id
	 */
	@TableId
	private Integer id;
	/**
	 * 问卷标题(问卷名称,比如大学生睡眠情况调查问卷)
	 */

	private Integer userId;

	private String questionnaireName;
	/**
	 * 问卷创建时间
	 */
	private Date creationDate;
	/**
	 * 问卷的创建者
	 */
	private String createdBy;
	/**
	 *   release(1,"问卷已发布"),
	 *     stop(2,"问卷已终止");
	 */
	private Integer status;
	/**
	 * 可以选择问卷风格(1代表一种风格，2代表一种风格等)
	 */
	private Integer style;
	/**
	 * 问卷的题目(比如1.吃什么？2.写什么?)
	 */
	private String problemList;
	/**
	 * 限制的问卷答卷次数
	 */
	private Integer limitNumber;
	/**
	 * 限定的问卷答题时间
	 */
	private Integer limitTime;
	/**
	 * 问卷发布时间(问卷发送)
	 */
	private Date releaseTime;
	/**
	 * 最新修改日期
	 */
	private Date updateTime;
	/**
	 * 问卷结束时间
	 */
	private Date endTime;
	/**
	 * 问卷开启时间
	 */
	private Date startTime;
	/**
	 * 0代表未删除，1代表已删除（伪删除）
	 */
	private Integer isDeleted;
	/**
	 * 0代表不是优质答卷，1代表是优质答卷(优质答卷判断位)
	 */
	private Integer isExcellent;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getQuestionnaireName() {
		return questionnaireName;
	}

	public void setQuestionnaireName(String questionnaireName) {
		this.questionnaireName = questionnaireName;
	}

	public Date getCreationDate() {
		return creationDate;
	}

	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStyle() {
		return style;
	}

	public void setStyle(Integer style) {
		this.style = style;
	}

	public String getProblemList() {
		return problemList;
	}

	public void setProblemList(String problemList) {
		this.problemList = problemList;
	}

	public Integer getLimitNumber() {
		return limitNumber;
	}

	public void setLimitNumber(Integer limitNumber) {
		this.limitNumber = limitNumber;
	}

	public Integer getLimitTime() {
		return limitTime;
	}

	public void setLimitTime(Integer limitTime) {
		this.limitTime = limitTime;
	}

	public Date getReleaseTime() {
		return releaseTime;
	}

	public void setReleaseTime(Date releaseTime) {
		this.releaseTime = releaseTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getIsExcellent() {
		return isExcellent;
	}

	public void setIsExcellent(Integer isExcellent) {
		this.isExcellent = isExcellent;
	}
}
